package chap3;
import java.util.Scanner;
public class Task6 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入张浩的数学、英语、语文成绩:");
        double math = input.nextDouble();
        double english = input.nextDouble();
        double chinese = input.nextDouble();
        if ((math == 100 || english == 100 || chinese == 100) && (math >= 60 && english >= 60 && chinese >= 60)) {
            System.out.println("获得一部iphone作为奖励");
        } else {
            System.out.println("什么都没有");
        }
    }
}
